<html>
    <head>
        <title>test</title>
        <script src="ooj.js"></script>
		
		<style>
			
			.da {
				font-weight: bold;
				
			}
			
		</style>
		
    </head>
    <body>
           test
          
            <span id="myspan" >123</span>
          
		<script>
			var L = OOJ.lang,
				U = OOJ.util,
				D = OOJ.dom;
			
			var e = D.Element.getById('myspan');
			e.addClass('da');
			var hasclass = e.hasClass('da');
			
           </script>
    </body>
</html>